import React, { Component } from 'react';

import { Route } from 'react-router-dom';

import App from './App.jsx';
import Index from './Index.jsx';

class Router extends Component {
  render() {
    return (
        <React.Fragment>
            <Route path="/" component={App}/>
            <Route path="/home" component={Index}/>
        </React.Fragment>
    );
  }
}

export default Router;
